import * as THREE from 'three'

export class KongZhi {
	jiaZaiZhuangTai = false
	
	static kongZhiMuBiao = new Set() // 当前控制的对象

	constructor() {}
	
	chuLi() {}
	
	jiaZai() {
		this.jiaZaiZhuangTai = true
		KongZhi.kongZhiMuBiao.add(this)
	}
	
	xieZai() {
		this.jiaZaiZhuangTai = false
		KongZhi.kongZhiMuBiao.delete(this)
	}
}
